package com.ruoyi.caipiao.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 排列5方法预测对象 caipiao_pl5_method_one
 *
 * @author ruoyi
 * @date 2025-06-07
 */
public class CaipiaoPl5MethodOne extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 期数
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "期数", width = 30, dateFormat = "yyyy-MM-dd")
    private Date qs;

    /**
     * 位置1
     */
    @Excel(name = "位置1")
    private String position1;

    /**
     * 位置2
     */
    @Excel(name = "位置2")
    private String position2;

    /**
     * 位置3
     */
    @Excel(name = "位置3")
    private String position3;

    /**
     * 位置4
     */
    @Excel(name = "位置4")
    private String position4;

    /**
     * 位置5
     */
    @Excel(name = "位置5")
    private String position5;

    @Excel(name = "是否正确")
    private Integer rightPl5;
    @Excel(name = "是否正确")
    private Integer rightPl3;

    @Excel(name = "开奖号码")
    private String kjNum;
    @Excel(name = "号码个数")
    private Integer numSize;

    public Integer getNumSize() {
        return numSize;
    }

    public void setNumSize(Integer numSize) {
        this.numSize = numSize;
    }

    public String getKjNum() {
        return kjNum;
    }

    public void setKjNum(String kjNum) {
        this.kjNum = kjNum;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setQs(Date qs) {
        this.qs = qs;
    }

    public Date getQs() {
        return qs;
    }

    public void setPosition1(String position1) {
        this.position1 = position1;
    }

    public String getPosition1() {
        return position1;
    }

    public void setPosition2(String position2) {
        this.position2 = position2;
    }

    public String getPosition2() {
        return position2;
    }

    public void setPosition3(String position3) {
        this.position3 = position3;
    }

    public String getPosition3() {
        return position3;
    }

    public void setPosition4(String position4) {
        this.position4 = position4;
    }

    public String getPosition4() {
        return position4;
    }

    public void setPosition5(String position5) {
        this.position5 = position5;
    }

    public String getPosition5() {
        return position5;
    }

    public Integer getRightPl5() {
        return rightPl5;
    }

    public void setRightPl5(Integer rightPl5) {
        this.rightPl5 = rightPl5;
    }

    public Integer getRightPl3() {
        return rightPl3;
    }

    public void setRightPl3(Integer rightPl3) {
        this.rightPl3 = rightPl3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("qs", getQs())
                .append("position1", getPosition1())
                .append("position2", getPosition2())
                .append("position3", getPosition3())
                .append("position4", getPosition4())
                .append("position5", getPosition5())
                .append("createTime", getCreateTime())
                .toString();
    }
}
